home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1987 August
/
Ahoy_Magazine_87-08_1987_Double_L_Side_A.d64
/
Branch Calc
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
320b
|
11 lines
100 rem* branch calc ---- shawn k. smith
105 printchr$(142)
110 rem "calculated gotos and gosubs"
120 b=40960:k=57344:ford=0to8191:pokeb+d,peek(b+d):pokek+d,peek(k+d):next
130 poke1,53:poke64982,53
140 s=48981:ford=stos+6:ready:poked,y
150 next:h=int(s/256):poke43170,h
160 poke43169,s-h*256:d=21:loop=180
170 data 032,138,173,076,247,183,234
180 d=d-1:print"ok!":ifdthen goto loop